Moved the copy function intoopenstack/storage/client/files.js and proxied it in the file model.