Can you sync your itunes library to a new laptop?

I'm getting a new laptop soon, and I have all my music/books/a movie etc. On this laptop. And I also have an iphone. When I get my new laptop how can I transfer them onto that one?

You could try using a firewire to sync the two computers, but I think no matter what Itunes only transfers music and other things that you bought on itunes. Any CDs youll have to redo.

You can try to do it but i'm not sure for this