What’s the fastest way to copy a collection within the same database? December 30, 2022 by Tarik > db.myoriginal.aggregate([{$out: "mycopy"}]) It is a lot faster than doing many inserts in a forEach loop.