I am working on a String.
e.g of string - Cam01,Cam02,Cam03
Actually I want to split the string using , and add to the String array of length 4.
since there are only 3 items , the last item must be added as string "False".
When i created String arr[] = s.split(","); it creates an array of 3 items.
So last item i need to add as string "False" and make it array with length 4.
Arrays.copyOf()...