ap_copy_table — copy a table
table *ap_copy_table(pool *p, const table *t)
Returns a pointer to a copy of the table.