This method mirrors the first half of array into a palindrome array.