Logo

Programming-Idioms

  • VB
  • Dart

Idiom #228 Copy a file

Copy the file at path src to dst.

import 'dart:io';
File(src).copySync(dst);
with Ada.Directories;
Ada.Directories.Copy_File (Source_Name => Src,
                           Target_Name => Dst);

New implementation...