Try not to upgrade!
Agreed on the upgrade part, a re-install is much better. If you must upgrade, XP will only replace the "Windows" folder and some stuff like Documents. Basicaly, any folders that is a part of Windows will be replaced. You will probably need to re-install any programs you have on there anyway, because certain system files for a program are placed in the windows folder during install. Good luck!