Are copyright, trademark and patent all the same?

No, each of them serves a different purpose, though there are also some similarities. A copyright provides protection to authors of original work such as literature, drama, music, art, creative, films, production and some other kinds of intellectual works like softwares which are published and unpublished.

A trademark right is to identify the source of goods or services and prevent others from deliberately using a similar mark to make or sell the same goods or services to confuse buyers.
A patent is a limited duration property right to protect inventors in their right of ownership of new inventions.