Expose Copy error message and code if available

The error code can be used to know if the auth token is expired (error=2000),
Or to debug whatever the reason for the failure is because Copy returns detailed errors.