iGrafx interview question

Technical question to write pseudo-code to reverse an array in-place.