code: def tablecopy(tablename, newtablename, deep=False, valuecopy=False, dminfo={},
                endian='aipsrc', memorytable=False, copynorows=False):
      
      t = table(tablename, ack=False)
      return t.copy(newtablename, deep=deep, valuecopy=valuecopy,
                    dminfo=dminfo, endian=endian, memorytable=memorytable,
                    copynorows=copynorows)
docs: Copy a table.
  
      It is the same as :func:`table.copy`, but without the need to open
      the table first.