def copyfileobj_example(source, dest, buffer_size=((1024 * 1024) * 1024)):
    '      \n    Copy a file from source to dest. source and dest\n    must be file-like objects, i.e. any object with a read or\n    write method, like for example StringIO.\n    '
    while True:
        copy_buffer = source.read(buffer_size)
        if (not copy_buffer):
            break
        dest.write(copy_buffer)
Copy a file from source to dest. source and dest
must be file-like objects, i.e. any object with a read or
write method, like for example StringIO.
def copyfileobj_example(source, dest, buffer_size=((1024 * 1024) * 1024)):
    '      \n    Copy a file from source to dest. source and dest\n    must be file-like objects, i.e. any object with a read or\n    write method, like for example StringIO.\n    '
    while True:
        copy_buffer = source.read(buffer_size)
        if (not copy_buffer):
            break
        dest.write(copy_buffer)