XP has a feature called 'Transfer my settings' or something similar. I've never used it but I remember it being a selling point when XP was advertised. I think it was supposed to be the answer to just the sort of situation you face.
As to transferring HDDs from one machine to another, watch out for Windows being tied to the BIOS of your current maachine. You may end up having to buy a copy of XP anyway.