Add support for a -cleanup argument to remove the temporary copy databas...

Add support for a -cleanup argument to remove the temporary copy database