# copySections

**Kind:** Function

**Source:** [`atloria-monorepo/libs/site-gen-core/src/assembler/copy.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/site-gen-core/src/assembler/copy.ts#L35)

Copy selected section .tsx files and their shared component dependencies
to the output directory.

## Signature

```ts
async function copySections(resolvedSections: ManifestSection[], componentLibraryDir: string, outputDir: string): Promise<string[]>
```

## Parameters

| Name | Type |
|---|---|
| `resolvedSections` | `ManifestSection[]` |
| `componentLibraryDir` | `string` |
| `outputDir` | `string` |

**Returns:** `Promise<string[]>`
