# CopyFrom Method

## Overloads

| [CopyFrom(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.CopyFrom.htm#Qlik_Engine_GenericObject_CopyFrom_System_String_) |  | Copies the properties of a generic object and its children.<br><br>The source object is specified by the parameter `qFromId` and the destination object is referenced by its handle. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.CopyFrom.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.CopyFrom.htm)

## CopyFrom(String)

Copies the properties of a generic object and its children.

The source object is specified by the parameter `qFromId` and the destination object is referenced by its handle.

### Declaration

```

          public void CopyFrom([QixName("qFromId")] string fromId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | fromId | Identifier of the object to copy. |

### Implements

[IGenericObject.CopyFrom(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.CopyFrom.htm#Qlik_Engine_IGenericObject_CopyFrom_System_String_)

### Remarks

The identifier of the destination object is the same as before the copy takes place.