title: Create a byte array with a specific size and from specific values
body: <p>I have a byte <code>array</code> with <code>10</code> <code>byte</code>s. I want to create an <code>array</code> of <code>byte</code>s with a specific size and it will contain only the specific <code>10</code> <code>bytes</code> randomly but frequency must be almost the same.</p>
  
  <p>I got this:</p>
  
  <pre><code>public static byte[] a = {97, 98, 99, 100, 101, 102, 103, 104, 105, 49, 45};
  </code></pre>
  
  <p>I want to create a file with binary data that has <em>2000 <code>byte</code>s</em> size using the above <code>byte</code>s.</p>