Correct Answer : collection.toArray()
Explanation : collection.toArray() method Converts the collection into an array of documents.
collection.toArray()