title: MongoDB insert data after find query
body: <p>I'm using MongoDB with Mongochef GUI over an Ubuntu Virtual Machine. I need to do a Query which insert the data that I have found previously.</p>
  
  <p>How can i do this? I thought something like this:</p>
  
  <pre><code>db.createCollection("prueba", { capped : true, size : 5242880, max : 5000 } )
  db.gmap.find( { emotion: 1 } )
  db.prueba.insertMany(db.gmap.find( { emotion: 1 } ))
  </code></pre>
  
  <p>GMAP is other collection that i have and the find query returns needed data.
  Thanks</p>