If you have the exact same username and location on the new machine, you can actually just pick up the entire library and files, and drop then in the new machine and it'll all work. However, if you have slightly different machines (e.g. coming from c:, going to d
then it's a problem if you want to preserve all the library data (like # played, etc.)