Copyright is a form of protection grounded in the U.S. Constitution and granted by law for original works of authorship fixed in a tangible medium of expression. Copyright covers both published and unpublished works.
U.S. Constitution, article 1, section 8, clause 8:
“The Congress shall have power…To promote the Progress of Science and useful arts, by securing for limited times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries.”