How To Create Subarray From Array In Java