You do not need to reinstall. There are few simple steps that will prepare your system to boot on different HW for older versions of windows.
If you have Windows 10, you don't need to do anything, just plug your hard drive to the new system.
As for licensing ... Your windows will require re-activation. It is done through support. If you have to pay, or if it will be free depends on your license and number of previous activations.