code: def copy_file(src_filename, dst_filename):
      
      try:
          with open(src_filename, 'rb') as src_file:
              with open(dst_filename, 'wb') as dst_file:
                  while True:
                      buf = src_file.read(BUFFER_SIZE)
                      if len(buf) > 0:
                          dst_file.write(buf)
                      if len(buf) < BUFFER_SIZE:
                          break
          return True
      except:
          return False
docs: Copies a file from one place to another. Both the source and destination
         files must exist on the same machine.