@Override
	public GhidraFolder moveTo(DomainFolder newParent) throws IOException {
		if (parent == null) {
			throw new UnsupportedOperationException("root folder may not be moved");
		}
		if (!GhidraFolder.class.isAssignableFrom(newParent.getClass())) {
			throw new UnsupportedOperationException("newParent does not support moveTo");
		}
		GhidraFolderData folderData = getFolderData();
		GhidraFolder newGhidraParent = (GhidraFolder) newParent;
		return folderData.moveTo(newGhidraParent.getFolderData());
	}
Refresh folder data - used for testing only
@throws IOException if an IO error occurs
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/GhidraFolder.java