remove unneeded copy_data, p_content

This also fixes a serious problem with casting during
data retrieval where we copied [unionsize] data into
(field) back and forth, which works one way, but not
the other.