Core Java Array Insertion
<p>I want to insert an elements inside an array. I have one array1 of size 5(where all teh indexs are full).I have created one more array2 of size 6  and inserted all the elemnts of array1 inside array2. Now I want to insert an element in 3rd postion of array2 such that elements present in 3rd position will move to 4th, 4th will move to 5th and 5th will move to 6.</p>

<p>I have developed a program below. But getting string index out of bound exception. Please help me to fix this issue.</p>
