Copy an existing encoded key object.
the key to copy
the rng to use
new copy of the key
See Implementation
Copy an existing encoded key object.