@acquire_lock<EOL><INDENT>@sync_required<EOL>def dump_copy(self, path, relativePath, name=None,<EOL>description=None,<EOL>replace=False, verbose=False):<DEDENT>
relativePath = os.path.normpath(relativePath)<EOL>if relativePath == '<STR_LIT:.>':<EOL><INDENT>relativePath = '<STR_LIT>'<EOL><DEDENT>if name is None:<EOL><INDENT>_,name = os.path.split(path)<EOL><DEDENT>self.add_directory(relativePath)<EOL>realPath = os.path.join(self.__path, relativePath)<EOL>dirInfoDict, errorMessage = self.get_directory_info(relativePath)<EOL>assert dirInfoDict is not None, errorMessage<EOL>if name in dict.__getitem__(dirInfoDict, "<STR_LIT>"):<EOL><INDENT>if not replace:<EOL><INDENT>if verbose:<EOL><INDENT>warnings.warn("<STR_LIT>"%(name))<EOL><DEDENT>return<EOL><DEDENT><DEDENT>dump = "<STR_LIT>"<EOL>pull = "<STR_LIT>"<EOL>try:<EOL><INDENT>shutil.copyfile(path, os.path.join(realPath,name))<EOL><DEDENT>except Exception as e:<EOL><INDENT>if verbose:<EOL><INDENT>warnings.warn(e)<EOL><DEDENT>return<EOL><DEDENT>klass = None<EOL>dict.__getitem__(dirInfoDict, "<STR_LIT>")[name] = {"<STR_LIT>":dump,<EOL>"<STR_LIT>":pull,<EOL>"<STR_LIT>":datetime.utcnow(),<EOL>"<STR_LIT:id>":str(uuid.uuid1()),<EOL>"<STR_LIT:class>": klass,<EOL>"<STR_LIT:description>":description}<EOL>self.save()<EOL>
Copy an exisitng system file to the repository.
attribute in the Repository with utc timestamp.

:Parameters:
    #. path (str): The full path of the file to copy into the repository.
    #. relativePath (str): The relative to the repository path of the directory where the file should be dumped.
       If relativePath does not exist, it will be created automatically.
    #. name (string): The file name.
       If None is given, name will be split from path.
    #. description (None, string, pickable object): Any random description about the file.
    #. replace (boolean): Whether to replace any existing file with the same name if existing.
    #. verbose (boolean): Whether to be warn and informed about any abnormalities.