code: def copy(self, repodir):
          
          #Instead of using the built-in shell copy, we make shell calls to rsync.
          #This allows us to copy only changes across between runs of pull-requests.
          from os import system, path
          vms("Running static file copy locally.", 2)
          for file in self.files:
              fullpath = path.expanduser(file["source"])
              if path.isfile(fullpath):
                  vms("Running 'rsync' for {}.".format(fullpath), 3)
                  system("rsync -t -u {} {}".format(fullpath, get_repo_relpath(repodir, file["target"])))
  
          for folder in self.folders:
              fullpath = path.expanduser(folder["source"])
              if path.isdir(fullpath):
                  vms("Running 'rsync' for {}.".format(fullpath), 3)
                  system("rsync -t -u -r {} {}".format(path.join(fullpath, ""),
                                                       path.join(get_repo_relpath(repodir, folder["target"]), "")))
docs: Copies the static files and folders specified in these settings into the
          locally-cloned repository directory.
  
          :arg repodir: the full path to the directory with the locally-cloned version
            of the pull request being unit tested.