Question: how to transfer the data from one mac to another?
Answer: Open Migration Assistant, which is in the Utilities folder of your Applications folder.
Click Continue.
When asked how you want to transfer your information, select the option to transfer from a Mac, Time Machine backup, or startup disk.
Click Continue.