public static Object[] trimmedCopy(final Object[] argArray) {
        return NormalizedParameters.trimmedCopy(argArray);
    }
Helper method to get all but the last element of an array

@param argArray
         The arguments from which we want to remove the last element

@return a copy of the array without the last element
slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java