import java.util.Arrays; public class ArrayManipulation { public static int[] reverseArray(int[] arr) { for (int i = 0; i