I'm struggling to understand the final condition "The program must copy one half of the large array into the first small array, copy the second half into the second array, and then display that array on the screen.". I relied heavily on another question to get this far, and I just don't understand what is going on when one array is copied into another, and I'm not sure what I am missing. If someone could explain the concept, that would be awesome.
package com.codegym.task.task07.task0705;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
One large array and two small ones
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
int[] i2 = new int[20];
for(int i = 0; i < 20; i++){
i2[i] = Integer.parseInt(read.readLine());
}
int[] i1 = new int[10];
int[] i3 = new int[10];
for(int i4 = 0; i4 < 10; i4++){
i1[i4] = i2[i4];
}
for(int i5 = 10; i5 == 20; i5++){
i3[i5-10] = i2[i5];
System.out.println(i3[i5-10]);
}
}
}