Well, I don't how applicable this is in the rest of the world, but according to the US Copyright Office, "your work is under copyright protection the moment it is created and fixed in a tangible form that it is perceptible either directly or with the aid of a machine or device." That is, you automatically have copyright protection on anything you create. You can also register your copyright, but I'll leave it to you to take a look at their page and see what additional protection that gives you.