# into

abstract fun into(destPath: Any): CopySpec(source)

Specifies the destination directory for a copy. The destination is evaluated as per * org.gradle.api.Project#file(Object).

abstract fun into(destPath: Any, @DelegatesTo(value = CopySpec::class) configureClosure: Closure): CopySpec(source)

Creates and configures a child `CopySpec` with the given destination path. The destination is evaluated as per file.

#### Return

this

#### Since

0.9

#### Parameters

destPath

Path to the destination directory for a Copy

configureClosure

The closure to use to configure the child `CopySpec`.

abstract fun into(destPath: Any, copySpec: Action<in CopySpec>): CopySpec(source)

Creates and configures a child `CopySpec` with the given destination path. The destination is evaluated as per file.

#### Return

this

#### Since

3.0

#### Parameters

destPath

Path to the destination directory for a Copy

copySpec

The action to use to configure the child `CopySpec`.