Check out this link from apple:

http://support.apple.com/kb/HT4527

I think the section on transferring your music library via an external drive is what you're looking for, with appropriate substitutions given that you're looking to transfer over a network.