[netcore] Fix the range checks for Vector.CopyTo(). (#16663)