public String[] getValues() {
        return Arrays.copyOf(values, values.length);
    }
Returns a copy of the values in this in an array
container-search/src/main/java/com/yahoo/search/query/profile/DimensionValues.java