Returns all the values of an array