hal.dll has information on what hardware you have. since it was from a computer with different hardware, it will not work on this one. you need to do a repair install of XP
put in the XP CD on boot, press enter at the first screen, press f8 to agree to the terms, then the next screen after it says "searching for previous versions of microsoft windows" press r
it will then reinstall all the core parts of Windows, but keep your files and settings intact. that way it will "adapt" the OS on the hard drive to the hardware you have in that system.