backupwallet Safely copies wallet.dat to destination, which can be a directory or a path with filename.