private void copy(ProgramTreeActionContext context) {

		// revert the "cut" if something is in the temporary clipboard
		clearCutClipboardNodes();

		TreePath[] paths = context.getSelectionPaths();
		if (paths.length == 0) {
			return;
		}

		// copy to clipboard
		setClipboardContents(GClipboard.getSystemClipboard(), paths);
	}
Put selected paths on the clipboard; clear the temp clipboard
if something was there.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java