Transferring data from one collection to another

Otherwise, it should be done in batches, using the .bulkInsert() method.