*/
AbstractCopy(Path srcPath, Path destPath, String srcWorkspaceName,
ManagerProvider srcMgrProvider, ManagerProvider destMgrProvider)
throws RepositoryException {
ItemState srcItemState = srcMgrProvider.getHierarchyManager().getItemState(srcPath);
if (!srcItemState.isNode()) {
throw new PathNotFoundException("Source path " + LogUtil.safeGetJCRPath(srcPath, srcMgrProvider.getPathResolver()) + " is not a valid path.");
}
this.srcState = (NodeState)srcItemState;
this.destParentState = getNodeState(destPath.getAncestor(1), destMgrProvider.getHierarchyManager(), destMgrProvider.getNamePathResolver());