Copies content of this to other file.
this
other
Future<void> copyTo(File other) async { final sink = other.openWrite(); await sink.addStream(openRead()); await sink.close(); }