I'm assuming the computers are NOT identical and as such, the hardware and motherboard drivers won't be found correctly and you'll need to reinstall XP for everything to be recognized .. And then, if you try to reinstall XP using the same product key, it won't be able to validate because you've got different hardware for the same. Still, if it's a full retail version of XP, (OEM versions won't do this), you might be able to contact Microsoft and get them to issue a new product key because you've moved the operating system to a new machine... Maybe..
Hope this helps.
Grif
Hi, I want to swap my harddrive, which holds Windows XP, from my old computer to my new computer. I heard that you cannot do that becuase it will not detect it. Is it true? or will Windows detect the new hardware changes and reinstall everything?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic