My hard disc crashed and I now have a new one installed. Can I sync all my music and playlists from the iPhone to the Mac Book Pro? How?

Thanks