uploadcare/uploadcare-php — pull request #36 by pmh1 (2014-11-12 20:29:09+00:00)
Title: copyFile return based on type

Per the discussion in PR #31 this change does two things:
* Fixes the `Api::copyFile` method to only return a `File` instance if the API response type is `file` otherwise it returns a string.
* Adds a convience method to the File class `copyTo` that expects a `$target` but otherwise works exactly like `copy`