What can be copyrighted is frequently confused. In particular (Section 102 USC17):
102(a). Copyright protection subsists, in accordance with this title, in original works of authorship fixed in any tangible medium of expression, now known or later developed, from which they can be perceived, reproduced, or otherwise communicated, either directly or with the aid of a machine or device. Works of authorship include ...
102(b). In no case does copyright protection for an original work of authorship extend to any idea, procedure, process, system, method of operation, concept, principle, or discovery, regardless of the form in which it is described, explained, illustrated, or embodied in such work.
On top of this expression/idea dichotomy there is a large body of case law which further explains what is meant.