Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary:

# CopyOption


`
public


interface
CopyOption
`


`


`

|---|
| java.nio.file.CopyOption |

|---|
| Known indirect subclasses [LinkOption](https://developer.android.com/reference/java/nio/file/LinkOption), [StandardCopyOption](https://developer.android.com/reference/java/nio/file/StandardCopyOption) |---|---| | [LinkOption](https://developer.android.com/reference/java/nio/file/LinkOption) | Defines the options as to how symbolic links are handled. | | [StandardCopyOption](https://developer.android.com/reference/java/nio/file/StandardCopyOption) | Defines the standard copy options. | |

<br />

*** ** * ** ***

An object that configures how to copy or move a file.

Objects of this type may be used with the `https://developer.android.com/reference/java/nio/file/Files#copy(java.nio.file.Path,%20java.nio.file.Path,%20java.nio.file.CopyOption[])`,
`https://developer.android.com/reference/java/nio/file/Files#copy(java.io.InputStream,%20java.nio.file.Path,%20java.nio.file.CopyOption[])` and `https://developer.android.com/reference/java/nio/file/Files#move(java.nio.file.Path,%20java.nio.file.Path,%20java.nio.file.CopyOption[])` methods to configure how a file is
copied or moved.

The `https://developer.android.com/reference/java/nio/file/StandardCopyOption` enumeration type defines the
*standard* options.