Can I migrate all data from my MacBook to my iMac
Goto Application > Utilities > Migration Assistant on both the devices, they should be either on the same wifi network, or connected physically with a Cable like thunderbolt, Ethernet etc. It will guide you to transfer the data.