(fsrc, fdst, length=0)
copy data from file-like object fsrc to file-like object fdst
copy data from file-like object fsrc to file-like object fdst
copy data from file - like object fsrc to file - like object fdst
def copyfileobj(fsrc, fdst, length=0):
    """copy data from file-like object fsrc to file-like object fdst"""
    # Localize variable access to minimize overhead.
    if not length:
        length = COPY_BUFSIZE
    fsrc_read = fsrc.read
    fdst_write = fdst.write
    while True:
        buf = fsrc_read(length)
        if not buf:
            break
        fdst_write(buf)
def copyfileobj ( fsrc , fdst , length = 0 ) : # Localize variable access to minimize overhead. if not length : length = COPY_BUFSIZE fsrc_read = fsrc . read fdst_write = fdst . write while True : buf = fsrc_read ( length ) if not buf : break fdst_write ( buf )