If you just bought a new computer, more than likely it is a Windows 8 PC. And if you use iTunes, we will show you how to move your iTunes library to your new Windows 8 PC.
First: Find your iTunes Library. (This only works if you were using iTunes to organize your music. Any music you uploaded into iTunes’ interface are automatically copied and placed into a specific location by the program)
Pull up iTunes’ Preferences windows and click its Advanced icon. iTunes will tell you exactly where it’s keeping its Media folder. Navigate to this location within Windows Explorer and copy all the directories representing your music to some kind of external storage device.
Before you go dumping these tunes onto your new Windows 8 PC, download and install iTunes, and then go back to the same Preferences > Advanced window on your new PC.
Make sure the location you want iTunes to use for your new Media folder is set, and check the following two options: “Keep iTunes Media folder organized,” and “Copy files to iTunes Media folder when adding to library.”
From there, all you have to do is drag-and-drop the folders full of music on your external drive directly into your new, empty iTunes folder on your Windows 8 PC—the app will take care of the rest.