# system.kanoa.asset.copyAsset(assetId, userId)

Makes a copy of the asset. This will be an identical copy including all the child assets, links to modes, states, items and attributes

---
### Parameters
**assetId** `Integer`: The asset to copy<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**assetId** `Integer` The assetId of the newly created asset<br />
**msg** `String` None if success<br />

---
### Example
```python
assetId = 123
userId = 456
newAssetId, msg = system.kanoa.asset.copyAsset(assetId, userId)
```
