class ArrayUtils {

    public static int[] reverse(int[] input) {
        int[] output = new int[input.length];
        int counter = 0;
        for (int i : input) {
            output[input.length - counter - 1] = i;
            counter++;
        }
        return output;
    }

}