Arreglo espejo
Dado un arreglo de números enteros, conviértelo en un arreglo espejo.
Ejemplos
Program.mirror(new int[]{0, 2, 4, 6}) ➞ new int[]{0, 2, 4, 6, 4, 2, 0}
Program.mirror(new int[]{1, 2, 3, 4, 5}) ➞ new int[]{1, 2, 3, 4, 5, 4, 3, 2, 1}
Program.mirror(new int[]{3, 5, 6, 7, 8}) ➞ new int[]{3, 5, 6, 7, 8, 7, 6, 5, 3}Notas
No repitas el último elemento del arreglo original.