Hi!
You need to perform a license transfer, where you get a new license equivalent license for the new device.
You can do that manually in the license administration portal, or open a Licensing TAC Case and let Cisco do it for you.
Let me know what you think.
Best regards
Juls