public void Move(string currentDirectory, string sourcePath, string destPath) => CopyOrMoveInternal( currentDirectory, sourcePath, destPath, (sourcePathCurrentItem, destPathCurrentItem) => { IFileSystemItem prevParent = sourcePathCurrentItem.Parent; destPathCurrentItem.AddChild(sourcePathCurrentItem); prevParent.RemoveChild(sourcePathCurrentItem); } );