def METHOD_NAME(self, src, dst):
    tar = tarfile.open(src + '.tar', mode='w')
    try:
        tar.add(src)
    finally:
        tar.close()
    data = open(src + '.tar', 'rb').read()
    self.agent_container.put_archive("/tmp", data)
    self.agent_container.exec_run("mv /tmp/" + src + " " + dst)