How to handle license when duplicating entire website
I think it would be enough to delete the license.key file under

craft/config


and purchase a new license. The key file will be re-generated.

Some more info in this answer, and here is how Craft decides if it is running on a public domain