added CopyToRandomAccessibleInterval