public KeyPath relativize(KeyPath successor) {
		if (!isAncestor(successor)) {
			throw new IllegalArgumentException("this is not an ancestor to successor");
		}
		return new KeyPath(
			Arrays.copyOfRange(successor.keys, this.keys.length, successor.keys.length));
	}
Assuming this is an ancestor of the given successor, compute the relative path from here to
there

@param successor the successor
@return the relative path
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/KeyPath.java