Converts an iterator or iterable into an array by iterating over all it's values and collecting them.
Converts an iterator or iterable into an array by iterating over all it's values and collecting them.