@Override
	public GhidraFile moveTo(DomainFolder newParent) throws IOException {
		if (!GhidraFolder.class.isAssignableFrom(newParent.getClass())) {
			throw new UnsupportedOperationException("newParent does not support moveTo");
		}
		GhidraFolder newGhidraParent = (GhidraFolder) newParent;
		return getFileData().moveTo(newGhidraParent.getFolderData());
	}
Reassign a new file-ID to resolve file-ID conflict.
Conflicts can occur as a result of a cancelled check-out.
@throws IOException if an IO error occurs
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/GhidraFile.java