title: VB.NET Array with Strings
body: <p>how do i copy 2 to 3 elements from Array 1 to another Array</p>
  
  <p><strong>Pets</strong> </p>
  
  <p>dog 1<br>
  dog 2<br>
  dog 6<br>
  cat 1<br>
  cat 2</p>
  
  <pre><code>Dim pet as String = "dog"
  </code></pre>
  
  <p>i want to copy the array elements form Array 1 to Array 2 only the elements with "dog" LIKE using the string named pet</p>
  
  <p><strong>Dog</strong></p>
  
  <p>dog 1<br>
  dog 2<br>
  dog 6<br></p>