# CopyOption

public interface **CopyOption**

|---|---|---|
| Known Indirect Subclasses [LinkOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/LinkOption.html), [StandardCopyOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/StandardCopyOption.html) |---|---| | [LinkOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/LinkOption.html) | Defines the options as to how symbolic links are handled. | | [StandardCopyOption](https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/StandardCopyOption.html) | Defines the standard copy options. | |||

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

Objects of this type may be used with the `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Files.html#copy(java.nio.file.Path,%20java.nio.file.Path,%20java.nio.file.CopyOption...)`,
`https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Files.html#copy(java.io.InputStream,%20java.nio.file.Path,%20java.nio.file.CopyOption...)` and `https://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/Files.html#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://developers.google.com/j2objc/javadoc/jre/reference/java/nio/file/StandardCopyOption.html` enumeration type defines the
*standard* options.