I haven't done it myself but I believe you have to copy "YourUserName / Pictures / iPhoto Library" to your new mac. If you just replace the (emtpy) library on your new mac it will probably work fine. If it doesn't work: launch iphoto while holding down the option key, click "choose library" and point it to your copied library.