Because database abstraction is independent of the underlying database selected, the only difference in syntax for operations is for opening the database. That means that copying between databases is straightforward. Here’s an example of copying between a couple of different backends.
For more snippets like this see Google Apps Scripts snippets
For help and more information join our forum, follow the blog or follow me on Twitter