Mongo: copy and drop database

# copy
mongo
db.copyDatabase('source', 'target')
# drop
mongo
use <dbname>
db.runCommand({dropDatabase:1})