This is a 22 Pin Power/Signal Serial ATA Cable. This cable is male to male and has a variety of uses. It can be used as an extension but is also used to connect hard drives to some Apple products. This can also be used in conjunction with a SATA hot swap backplane adapter.
(click on the image to view larger)