private void moveFolder(DomainFolder folder, DomainFolder newParent) {

		String name = folder.getName();
		try {
			folder.moveTo(newParent);
			Msg.info(this, "Moved folder " + name + " to " + folder.toString());
		}
		catch (FileNotFoundException e) {
			// user may have renamed something in this item's path
			Msg.error(this, "Folder not found '" + folder + "'");
			hasFailedCopy = true;
		}
		catch (Exception e) {
			ClientUtil.handleException(repository, e, "Move Folder", null);
		}
	}
Move the given folder and all of its contents into a new parent folder.
<p>
Displays a error dialog if there was an exception

@param folder being moved
@param newParent destination
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/PasteFileTask.java