How does a patent differ from a copyright?