Expand the COPYTEST macro to avoid trouble with 64-bit types.