title: Splitting integers in arrays to individual digits
body: <p>I have an array: </p>
  
  <pre><code>int test[]={10212,10202,11000,11000,11010};
  </code></pre>
  
  <p>I want to split the inetger values to individual digits and place them in a new array as individual elements such that my array now is:</p>
  
  <pre><code>int test2[]={1,0,2,1,2,1,0,2,0,2,1,1,0,0,0,1,1,0,0,0,1,1,0,1,0};
  </code></pre>
  
  <p>How would i go about doing that? I'm doing this in java. </p>
  
  <p>Thank you.</p>