How can I migrate my data (musik, fotos...) and programs form the old iMac to the new one?
The programs won't transfer but the data will.
It depends on which Mac your old one is, and what version of OS X it is running.
I am using the OS X Version 10.9
See Pondini's Setup New Mac guide.
Retrieving data ...