# CopyFromAsync Method

## Overloads

| [CopyFromAsync(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.CopyFromAsync.htm#Qlik_Engine_IGenericObject_CopyFromAsync_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. |
| --- | --- | --- |
| [CopyFromAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.CopyFromAsync.htm#Qlik_Engine_IGenericObject_CopyFromAsync_Qlik_Engine_AsyncHandle_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.IGenericObject.CopyFromAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.CopyFromAsync.htm)

## CopyFromAsync(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

```

          Task CopyFromAsync([QixName("qFromId")] string fromId)
    
  
```

### Parameters

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

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Remarks

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

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

## CopyFromAsync(AsyncHandle, 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

```

          Task CopyFromAsync(AsyncHandle asyncHandle, [QixName("qFromId")] string fromId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | fromId | Identifier of the object to copy. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Remarks

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