String destParentPath = PathUtils.getParentPath(destPath);
String destNodeName = PathUtils.getName(destPath);
MongoNode srcParent = getStoredNode(srcParentPath, false);
if (!srcParent.childExists(srcNodeName)) {
throw new NotFoundException(srcPath);
}
MongoNode destParent = getStoredNode(destParentPath);
if (destParent.childExists(destNodeName)) {
throw new RuntimeException("Node already exists at copy destination path: " + destPath);
}