collect all items from this stream into an arrayredefines Sequence.asArray:collect the contents of this Sequence into an array