public static void setClipboardContents(DataTree tree, TreePath[] paths) {
		clearCuttables();

		Clipboard clipboard = GClipboard.getSystemClipboard();
		List<GTreeNode> list = new ArrayList<>();
		for (TreePath element : paths) {
			GTreeNode node = (GTreeNode) element.getLastPathComponent();
			list.add(node);
		}

		GTreeNodeTransferable contents =
			new GTreeNodeTransferable(tree.getDragNDropHandler(), list);

		try {
			clipboard.setContents(contents, DATATREE_CLIPBOARD_OWNER);
		}
		catch (IllegalStateException ise) {
			// this can happen when other applications are accessing the system clipboard
			Msg.showError(DataTreeClipboardUtils.class, tree, "Unable to Access Clipboard",
				"Unable to perform cut/copy operation on the system clipboard.  The " +
					"clipboard may just be busy at this time. Please try again.");
		}
	}
Pushes the GTreeNodes in the specified TreePath array to the clipboard.

@param tree DataTree that contains the GTreeNodes
@param paths array of TreePaths containing nodes to be pushed to clipboard.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/DataTreeClipboardUtils.java