ECKey.Duplicate
---------------

Creates a copy of the key.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Sign](component_Sign.md) | [5.4](newinversion54.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "ECKey.Duplicate"; ECKey ) 

**MBS**( **"ECKey.Duplicate";** /\* Creates a copy of the key. \*/  
**$ECKey**) /\* The reference number for the key.e.g. $Key \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ECKey | The reference number for the key. | $Key |

### Result

Returns key reference or error.

### Description

Creates a copy of the key.  
Please use [ECKey.Release](ECKeyRelease.md) later to free memory.  
### See also

- [ECKey.Release](ECKeyRelease.md)

This function checks for a license.

Created 9th October 2015 , last changed 9th October 2015

  
[ECKey.Description](ECKeyDescription.md) - [ECKey.ES256Sign](ECKeyES256Sign.md)

[HTML Version](ECKeyDuplicate.shtml)