copyFile

open fun copyFile(srcFilePath: String, destFilePath: String, listener: FileUtils.OnReplaceListener): Boolean

Copy the file.

Return

{@code true}: success{@code false}: fail

Parameters

srcFilePath

The path of source file.

destFilePath

The path of destination file.

listener

The replace listener.

open fun copyFile(srcFile: File, destFile: File, listener: FileUtils.OnReplaceListener): Boolean

Copy the file.

Return

{@code true}: success{@code false}: fail

Parameters

srcFile

The source file.

destFile

The destination file.

listener

The replace listener.