int[] nums3 = {1,5,3,0};
int[] nums4 = {3,7,5};
int a = 0;
int[] newnum = new int[nums3.length + nums4.length];
for (int num : nums3) {
newnum[a++] = num;
}
for (int num : nums4) {
newnum[a++] = num;
}
for (int i : newnum) {
System.out.println("i=" + i);
}