code style: rename copyPlainObject to _copyPlainObject