verify_and_copy_pattern
verify_and_copy_pattern(uint64_t old, uint64_t new, void *buf_arg, size_t size)