<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy_table(self, src, dst):
 """ Create a carbon copy of the source table. Arguments: src (str):
 The name of the table to copy. dst (str):
 The name of the target duplicate table. Raises: sql.OperationalError: If source table does not exist. """

        # Create table.
        self.create_table_from(dst, src)

        # Copy contents of src to dst.
        self.execute("INSERT INTO {dst} SELECT * FROM {src}"
                     .format(dst=dst, src=src))

        # Commit changes.
        self.commit()