Generally speaking, Windows doesn't handle moving programs around very well.
It will move documents, music, videos, photos, anything else that is not attached by an umbilical chord to Windows, and will do so very happily. But when a program is installed, the installation process very often installs files all over the place, including the Windows/System or Windows/System32 folder, (XP).
Also, programs are registered in the Windows Registry file in a number of places.
Moving program file folders and contents is easy. Cut and Paste will do it. But as soon as you click the program.exe file, Windows will look in the Registry and start looking for other files scattered over the OS, and fail to find anything. So the program will not work.
In WIndows 95 days there were utilities that said they could move the locations of programs. CleanSweep was one. But I never had much luck with the process.
Some programs will transfer. If they hold everything within the one folder, and don't register in the Regstry, then most likely they can be moved. But generally these are small utility like programs, or old DOS prgrams.
You would do better to note down any serial numbers, user login details etc, then when you re-install XP, and then download the program again.