---
sourceDocument: Xanadu Platform Analytics
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/now-intelligence

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Platform Analytics

ft:clusterId :

    - par

bundleId :

    - par

workflow :

    - Platform


---

# PADomainUtils - copy(String runAs)

# PADomainUtils - copy(String runAs) {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Copies Performance Analytics records to a different domain.
To copy dashboards or scheduled jobs, see [copyDashboard](https://servicenow-prod.fluidtopics.net/QZsanzeAWYIal~6cY7DxRw "Copy a dashboard to another domain.") and [copyJob](https://servicenow-prod.fluidtopics.net/4oe5Kdbjek5N6ppOTwHh2w "Copies a Performance Analytics scheduled data collection job record to another domain.").
{#r_PADU-copy_String__table_n55_zky_2t__entry__3}

| Name | Type | Description |
|-|-|-|
| runAs | String | User whose domain you want to copy records to. |
[Table 1. Parameters]

{#r_PADU-copy_String__table_n55_zky_2t} {#r_PADU-copy_String__table_o55_zky_2t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 2. Returns]

{#r_PADU-copy_String__table_o55_zky_2t}  

    // copy all the Performance Analytics records from global to user's domain
    var pa = new SNC.PADomainUtils();
    pa.copy('09ff3d105f231000b12e3572f2b4775d');


