Fixes copy_object

Fixes and implements the solution described here: https://github.com/rackspace/php-cloudfiles/issues/82. I'm submitting this patch to this repo in addition to the RS CF repo because I'm using this package https://packagist.org/packages/omissis/php-cloudfiles :)
Thank you.