.. _`Copy file`: .. _`org.sysess.sympathy.files.copyfile`: Copy file ~~~~~~~~~ .. image:: copy.svg :width: 48 Copy a file from one directory to another. Missing directories will be created if possible. *Ports*: **Inputs**: :port1: datasource Datasource of file to be copied **Outputs**: :port1: datasource Datasource of copied file *Configuration*: **filename** Manually enter a filename, if not using a regular expression **use_regex** Turn on/off naming using a regular expression **pattern** Specify the regular expression that will be used for matching **replace** The string to replace the match found with the regular expression **error** If a file operation fails, do not raise an exception .. automodule:: node_file_operations .. class:: CopyFile