FileCopy method

  1. @override
int FileCopy(
  1. MemoryPointer<RChar> srcPath,
  2. MemoryPointer<RChar> dstPath
)
override

Copy file from one path to another, dstPath created if it doesn't exist

Implementation

@override
int FileCopy(
  MemoryPointer<RChar> srcPath,
  MemoryPointer<RChar> dstPath,
) => _ffi.FileCopy(
  srcPath.asNativePointer(),
  dstPath.asNativePointer(),
);