copy

fun <R : Paged<Key, Item>, Self : DynamoDbPagedAction<R, Self>> DynamoDb.copy(action: Self, destination: TableName, mappingFn: (Item) -> Item = { it }): Result<Map<String, ReqWriteItem>?, RemoteFailure>

Copies items that are queried into another table, using BatchWriteItem to insert, and optionally mapping. Returns the Unprocessed Items from the last insert if there were any.