Spotbugs - allows malicious mutation
@@ -74,7 +74,7 @@ protected void copy(final Path sourceFile, final Path targetFile) throws IOExcep
* @since 2.8.0
*/
public CopyOption[] getCopyOptions() {
- return copyOptions;
+ return copyOptions.clone();
}
/**
