BUG: Table.copy did not retaing table.type

This would cause copies of a table to not be equal when compared using the
__eq__ method.