._copy - macmcmeans/localDataStorage GitHub Wiki
localDataStorage._copy( sourceKeyName, destinationKeyName )
This Memory Key method creates a new key, destinationKeyName, from the value stored under sourceKeyName, respecting the data type.
Existing keys cannot be overwritten.
EXAMPLES:
● localData._set( 'key1', 14.99 ) ● localData._copy( 'key1', 'key99' ) ● localData._get( 'key99' ) --> 14.99
🛢 The corresponding disk-based method is copy.