Given an ArrayList of ArrayList of Bytes like this : 

```
 ArrayList<ArrayList<Byte> > shares = new ArrayList<ArrayList<Byte> >(); 

```

I want to convert this to an array of String which is defined like this : 

```
String[] binary=new String[shares.size()];

```

How to do it.Please help

How to do reverse of it also.Means how to convert this string back to arraylist.