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`