Legal regime on the protection of software with special reference to software piracy a critical study