public GroupPath pathByAddingChild(String child) {
		String []p = new String[groupNames.length+1];
		System.arraycopy(groupNames, 0, p, 0, groupNames.length);
		p[p.length-1] = child;
        return new GroupPath(p);
    }
Create a new GroupPath object by adding the given
child name to this group path.

@param child name of child to add to path
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/GroupPath.java