Yes, more or less. I am not really sure why we legally do that, I believe it's just another protection in case someone actually copies the code.
I mean everything is copyrighted anyway. It's harder to give up copyright than to keep it, so the main point is despite copyright protections, most companies do not publish their code publicly at all. For code that has to be pushed to clients, most companies even take efforts to obfuscate it.