I guess you should post questions like this in Computer and Technology section. Anyway, I can help you, as I know the answer. I am completely sure, that you must use a loop to assign the elements of one array to the other array. Also you can use it to sort the elements in your array.