The best way to do it is with Migration Assistant or from a Time Machine backup. Here is a guide by Apple on how to do it. I have done it both ways and never had any issue after it is done. It will move everything over. When you are done your new Mac will be identical in every way as your old Mac. Here is a guide by Apple if your computer is too old to work with Migration Assistant, you can manually copy your data from one computer to another using these steps.