You can deactivate the current device
https://support.microsoft.com/en-us/office/deactivate-an-installation-of-office-767e3560-96ed-4b1c-806d-2fe01c529b1b
then on the new device sign on here
https://www.office.com/
to setup the new device and install software.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--