you can but it wont work 100% properly as the installed boot - reg - files - flags ect are all based on the old systems hardware ect..
Best to move the HDD, create a partition on it, move all files you want to keep onto the partion, format n reinstall windows on the the other partion, transfer your kept files back and delete the created partition to make it 100% healthy and setup for your new hardware