title: How to shift an entire array one position to the right?
body: <pre><code>public static void moveRight (int a[], int n){
      int aux;
      for(int i = 1; i&lt;n; i--){
          aux = a[i];
          a[i]= a [i];
      }
  }
  </code></pre>
  
  <p>I been trying with this code but it doesn't work.</p>