remove `cast::unsafe_copy`

This is the same functionality as `ptr::read_ptr`.