A couple of days ago I did a similar thing, moved my Yosemite installation from one SSD to another. Checking earlier threads I got the recommendation to use Clonezilla which can clone everything including bootloader. It worked great.
Clonezilla is free. Other free options are EaseUS Disk Copy Free Edition which was also recommended in another thread (but might be limited to 1TB data, can't remember)
To minimize the risk of something going wrong (after making proper time machine backup + superduper backup to external drives) I disconnected all other hard drives and kept just the 2 SSDs running while using Clonezilla. Clonezilla is Linux and textbased and can boot from optical disk or USB, I used optical.
After making sure all worked fine I used OSX Disk Utility to expand the size of the main partition to fill the new SSD.