On Extracting Specialized Code Abilities from Large Language Models: A Feasibility Study