1.13. Element copy

  files = Glob pattern
  to = Path
  recurse = boolean : false
  quiet = boolean : false

Copies files and directories specified by attribute files to the file or directory specified by attribute to.

Has no effect is specified wildcard does not match any file.

If specified wildcard matches several files or directories, the destination must be an existing directory.

Directories will not be copied unless attribute recurse is specified with value true.

Attribute quiet can be used to suppress the error message when one of the specified files does not exist or when one of the specified files is a directory (and attribute recurse is different from true).