---
url: /technical/dataspreading-copy.md
description: >-
  Copys the current cell and all descendant cells based on the specified
  relative location.
---

# /copy

Copys the current cell and all descendant cells based on the specified relative location.

### Parameters

```js
/copy relativeLocation
```

`relativeLocation` - The relative location within the cube.

### Examples

![/copy workview](/dataspreading-copy-workview.png)
**Before /copy**
![before /copy](/dataspreading-copy-before.png)
**After /copy**
![After /copy](/dataspreading-copy-after.png)

### Example Hierarchy Used

![Dataspreading Hierarchy](/dataspreading-hierarchy.png)

::: info

* `/copy` can be used on Number measures only.
  :::
