copyFile

fun copyFile(oldPath: String, newPath: String): Int

Copy file

Return

Const.EXECUTE_COMPLETE - function completed

Const.VALUE_IS_EMPTY - The specified value is empty. Function failed

Const.FILE_NOT_FOUND - The specified file could not be found. Function failed

Parameters

oldPath

The path to the file

newPath

New path with filename