old boost doesn't have copy range

close salilab/imp#709