if (!assetExists(decodedUniqueId)) {
throw new IllegalArgumentException("Asset does not exist");
}
try {
FileSystem fileSystem = descriptor.getFileSystem();
Path sourcePath = fileSystem.provider().getPath(URI.create(decodedUniqueId));
Path destinationPath = fileSystem.provider().getPath(URI.create(descriptor.getStringRepositoryRoot() + location
+ fileSystem.getSeparator() + sourcePath.getFileName().toString()));
createIfNotExists(destinationPath);
CommentedOption commentedOption = new CommentedOption(getIdentity(), "Copied asset " + sourcePath.getFileName()