copy File
Copies a file.
Return
the destination file
Parameters
src
source file
path
destination directory path
name
destination file name
Copies a file. Only supports file:// scheme paths.
Return
whether the copy was successful
Parameters
src Path
source file path
path
destination directory path
name
destination file name
Return
whether the file was copied successfully
Parameters
context
context
src Uri
content:// URI obtained from MediaStore
des Path
destination path under the app's package directory