util: add a simple memcpy path for copying buffers in util_resource_copy_region