FDM Group interview question

How would you reverse an an array?