we are in a section were we are working with classes also with arrays my question is if you have an array of students how can you remove that student for the list by copying the other students for below up a slot.
When the elements of the array are moved (or copied) up a slot that will overwrite whatever was there before. That does not make the arrray smaller, it just means the last array element is left empty, or unused.
Use 2 indexes, 1 for 'student', 1 for 'new position'. Start them both at 0.
Increment both indices until you find the student you want to remove.
Increment only the student index.
Now continue to the end of the array copying the values in the 'student' index into the positions of the 'new position' index.