With SSD, similar to HDD, the manufacturer may revise the code in the controller over the course of it's life. This can come in several forms, a firmware update, or in a hardware update/change.
So first you must make sure you have the exact same revision controller.
Next, you must actually get the controller off of the good drive, and on to the failed drive.
This is in no way, shape , or form easy.
http://images.anandtech.com/reviews/storage/Intel/34nmSSD/PerfPreview/oldPCB.jpg
The above image is a shot of the x-25m-g1 board uncovered.
The first thing you may notice is the black surrounding the controller, and memory chips.
This is epoxy and it is a pain to remove, but not impossible.
Next you will need to desolder the controller chip, this is not the hard part yet!
These are Ball grid array packaged SMD, so you have to heat from the top and the bottom to safely remove them.
Once you have it removed, you will need to solder it on to the failed board, this is the hard part: You need to get the ball packages for this chip, which you will have a hard time getting I imagine, or you will need to custom make your own ball packages.
You will need a infrared rework station to solder BGA chips, these are typically a few thousand for a decent one.