PowerShell: array, arraylist, reversing

Code.