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, follow me on twitter
Services > Desktop Liberation - the definitive resource for Google Apps Script and Microsoft Office automation > Google Apps Scripts snippets > Do something useful with GAS in 5 minutes >