title: How to delete duplicate values in an array?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9673/remove-duplicates-from-array">Remove duplicates from array</a>  </p>
  </blockquote>
  
  
  
  <p>I have an int array which contains a defined number of elements, all positive. I want to get an array from this one where all the elements appear only once. e.g. If the first array was something like <code>{2000,2011,2011,2012,2009,2009,2000}</code>, I want to get this <code>{2000,2011,2012,2009}</code>. How can I do this? I tried lots of things with for loops but I can't manage to do something good.</p>