Example for collecting one collection (stream) into another collection.