Buffer#copy: keep offsets above MAX_SAFE_INTEGER instead of turning them into 0 (#39557)