Details
Description
This is originated from https://issues.couchbase.com/browse/CBL-2319.
We should provide a note to explain that the Database.copy(fromPath, toName, config) method will copy the database without changing the encryption key of original database if specified. Therefore, the encryption key specified in the given config is the encryption key used for both the original and copied database. If the encryption key needs to be changed or set to the copied database, the Database's changeEncryptionKey(key) will need to be call after.
release/lithium: https://github.com/couchbase/couchbase-lite-ios/commit/b99c944c2ac48ac9d90cf76a58ff7bd1c774a1dc
master: https://github.com/couchbase/couchbase-lite-ios/commit/75a0e0e6c71a9b271e3d8aaef44c0bf42b1e5638