parameters: (fsrc, fdst, length=0)
docstring: copy data from file-like object fsrc to file-like object fdst
docstring_summary: copy data from file-like object fsrc to file-like object fdst
docstring_tokens: copy data from file - like object fsrc to file - like object fdst
function: 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)
function_tokens: 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 )