Copies a file from one location to another.
ok, err = os.copyfile("source", "destination")
source
is the file system path to the file to be copied.
destination
is the path to the copy location.
True if successful, otherwise nil and an error message.
Premake 5.0 or later.