The Law of Software Piracy Software piracy is illegal in California under Penal Code Section 350. The law makes it a felony, punishable by either two, three, or five years in state prison, to take a trademarked product worth more than $400 and copy it without the trademark owner's permission.