Agilité interview question

Create clone of reduce array method.