def _overwrite(self, src, dst):
        with open(src, "rb") as fIn:
            with open(dst, "ab") as fOut:
                fOut.seek(0)
                chunk = fIn.read(512*16)
                while chunk:
                    fOut.write(chunk)
                    chunk = fIn.read(512*16)
Directly overwrite file 'dst' with the contents of file 'src'.
dataset/ETHPy150Open cloudmatrix/esky/esky/__init__.py/Esky._overwrite