You can't. Software will not migrate. You can reinstall it on the system left standing, or you can create a dual boot between the two drives, though technically the second copy of Windows is not licensed any longer and so it would be the same as pirating.
I have two identical hardware Dell tower computers both running XP - I need to get rid of one and all its accesories but dont wishh to lose all the infiormation stored on the hard drive - I have been able to move one hard drive into the chassis of the other and the 'new' system boots up and runs... so far so good - BUT how do I integrate the stuff stored on the imported drive into the system- eg I have pictures and files and some different software packages wish I would still loike to use.
any help appreciated. Thanks