# copySpec

abstract fun copySpec(): ERROR CLASS: Symbol not found for CopySpec(source)

Creates a {@link CopySpec} which can later be used to copy files or create an archive.

#### Return

The created CopySpec

abstract fun copySpec(configuration: ERROR CLASS: Symbol not found for Action<ERROR CLASS: Symbol not found for CopySpec>): ERROR CLASS: Symbol not found for CopySpec(source)

Creates a {@link CopySpec} which can later be used to copy files or create an archive.

#### Return

The configured CopySpec

#### Parameters

configuration

The block to use to configure the CopySpec.