Direct replacement of code: - memcpy of a single point is done as a shallow_copy() assignment. - memcpy of a range of points is done with an explicit cast to void* to tell compiler that we really want to memcpy even a non-trivial type. In some cases it seems that memcpy can be used more (points are copied in a loop). Those left as-is since this is supposed to be a simple cleanup. Differential Revision: https://developer.blender.org/D14505