removed incomplete code for range copy