NOVOMATIC Group interview question

Given an array of integers, reverse it.