This question already has an answer here:
I'm planning on building an online presence of a game I'm working on once it reaches a stage that would allow for creating marketing material (screenshots, trailers, etc).
Should I trademark/copyright my game before I start building online presence?
How long does the trademarking/copyrighting process take?
How much money can it cost?