I have an iPhone 4 and I'm a windows 7 user; I have the latest iTunes installed on my PC and synchronized with my iPhone; I don't have any music or video in there, as I don't use the iPhone for that purpose, but I have quite a big app library.
If I'm going to reinstall Windows on my computer, or even move to a different one, what should I do to keep my iTunes library? I'm assuming the App Store keeps track of what I've purchased, but how to avoid re-downloading everything again?