You cannot use iTunes to transfer song files from iPod to computer, except for songs purchased from the iTunes Store. However, there are third-party methods and utilities that can transfer from iPod to computer. If you do a Google search on something like "ipod transfer," you should get some links.
Once the song files are on your new computer's drive, add them to that computer's iTunes library. You can then sync your iPod to that iTunes library.