# Function: copyAccountData()

```ts
function copyAccountData(params): Promise<CopyResult>;
```

Defined in: [packages/core/src/node/copy.ts:43](https://github.com/leifriksheim/minca/blob/main/core/src/node/copy.ts#L43)

Copies every space an account holds, with its key and its records, into
another set of stores. Whatever the destination already has is kept.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `params` | [`CopyAccountParams`](https://minca.dev/api/core/interfaces/CopyAccountParams.md) |

## Returns

`Promise`\<[`CopyResult`](https://minca.dev/api/core/interfaces/CopyResult.md)\>
