diff --git a/libraries/stdlib/src/kotlin/io/files/Utils.kt b/libraries/stdlib/src/kotlin/io/files/Utils.kt index f9eecb51e2c..4155057a2b2 100644 --- a/libraries/stdlib/src/kotlin/io/files/Utils.kt +++ b/libraries/stdlib/src/kotlin/io/files/Utils.kt @@ -171,7 +171,7 @@ private fun File.toRelativeStringOrNull(base: File): String? { * @param bufferSize the buffer size to use when copying. * @return the [target] file. * @throws NoSuchFileException if the source file doesn't exist. - * @throws FileAlreadyExistsException if the destination file already exists and 'rewrite' argument is set to `false`. + * @throws FileAlreadyExistsException if the destination file already exists and [overwrite] argument is set to `false`. * @throws IOException if any errors occur while copying. */ public fun File.copyTo(target: File, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE): File {