HI, I am Dave, I will help you with this.
Do not remove the old device form your account that Windows was activated on.
After you install Windows on the new device, on the new device on the activation settings window, click the Troubleshoot option, then you will be given the option to select 'I changed my hardware', then select the old device in the list to move the Windows licence to the new device.