getNewPath method
Creates a new path for a file and copies its content
Implementation
Future<String> getNewPath(String path, String relativePath) async {
String newPath = await _getDownloadPath(relativePath);
await File(newPath).create(recursive: true);
final response = await File(path).readAsBytes();
await File(newPath).writeAsBytes(response);
return newPath;
}