Write a method reversal(A) that takes an array A of integers as an argument and returns a new array of the same size holding the same values as A, but in reverse order.

 

    [Language: Java  Kind: function definition]