How can my application protect it's copy right and also protect itself from piracy?

Please cover Windows & Linux area for Desktop and Online application.

*BIOS TIME checking..
*Registering
*OnlineServer for verification.
*.........
*.........
*.........