# CopyApp method

Copies an app that is in the Qlik Sense repository. The engine copies the app into an app entity that was previously created by the repository.

Information note

This operation is possible only in Qlik Sense Enterprise.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qTargetAppId | Identifier (GUID) of the app entity in the Qlik Sense repository.<br>The app entity must have been previously created by the Qlik Sense Repository Service (QRS) API. | Yes | String |
| qSrcAppId | Identifier (GUID) of the source app in the Qlik Sense repository. | Yes | String |
| qIds | Array of QRS identifiers.<br>The list of all objects in the app to be copied must be given. This list must contain the GUIDs of all these objects.<br>If the list of the QRS identifiers is empty, the *CopyApp* method copies all objects to the target app.<br>Script-defined variables are automatically copied when copying an app. To be able to copy variables not created via script, the GUID of each variable must be provided in the list of QRS identifiers.<br>To get the QRS identifiers of the objects in an app, you can use the QRS API. The GET method (from the QRS API) returns the identifiers of the objects in the app.<br>The following example returns the QRS identifiers of all the objects in a specified app:<br>GET /qrs/app/9c3f8634-6191-4a34-a114-a39102058d13<br>Where<br>*9c3f8634-6191-4a34-a114-a39102058d13* is the identifier of the app. | Yes | Array of String |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qSuccess |  | Boolean |

## Access Control

`duplicate`

## See also

[Copy an app](https://help.qlik.com/en-US/sense-developer/May2025/csh/engineapi/copy-app)

[See the Qlik Sense Repository Service API for more information](https://help.qlik.com/en-US/sense-developer/May2025/csh/engineapi/RepositoryServiceAPI-Introduction)