Array#map! modifies the array in place