> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# anaconda org copy

## Usage

```bash theme={null}
anaconda org copy <SPEC> [OPTIONS]
```

Comments

Replace \<SPEC> with a package spec in the format USER/PACKAGE/VERSION\[/FILENAME].

## Description

Copies packages from one account to another. By default, packages are copied to your own account. If `FILENAME` is not provided, all files in the version are copied.

## Arguments

Argument

Description

`<SPEC>`

Package spec: `USER/PACKAGE/VERSION[/FILENAME]` (required)\\

If a filename is not given, all files in the version are copied.

## Options

Option

Default

Description

`--to-owner <OWNER>`

Current user

User account to copy the package to

`--from-label <LABEL>`

`main`

Label to copy packages from

`--to-label <LABEL>`

`main`

Label to put all packages into

`--replace`

`false`

Overwrite destination package metadata

`--update`

`false`

Update missing data in destination package metadata

`-h`

Show help for this command

## Examples

**Copy an entire package version**

```bash theme={null}
anaconda org copy myusername/numpy/1.21.0
```

**Copy a specific file**

```bash theme={null}
anaconda org copy myusername/numpy/1.21.0/numpy-1.21.0-py39_0.conda
```

**Copy to a different owner**

```bash theme={null}
anaconda org copy myusername/numpy/1.21.0 --to-owner otherusername
```

**Copy between labels**

```bash theme={null}
anaconda org copy myusername/numpy/1.21.0 --from-label dev --to-label main
```
