public String[] asArray() {
		List<String> list = asList();
		return list.toArray(new String[list.size()]);
	}
Returns a hierarchical array of names of the categories in the category path, starting with
the name just below the {@code ROOT} category.

@return a hierarchical array of names of the categories in the category path.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/CategoryPath.java