Copyright law only protects the original expression of ideas. Computer programs can be protected by copyright subject to the computer program having a human author. This means copyright protects the code of the computer program. This is separate and distinct from patents, which can be used to protect the function of the computer program.