D Documentation  
Slicing
Slicing an array means to specify a subarray of it, by creating a new reference inside it:

int[5] foo;	  // declare array of 5 ints
int[]  bar;

bar = foo[1..3];  // foo[1..3] is a 2 element array consisting of
		  // foo[1] and foo[2]

Slicing is not for copying the contents of an array!

See also:
Array Copying, Array Settings and Operations
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.