is there any direct method or something except using loop to get array elements from speicifc index to other specific index
like if i have array of integer that has 20 elements i want to get new array as child of that array which has elements from index 5 to index 10