title: Functioning of permutedims in Julia unclear
body: <p>What does <code>permutedims()</code> do when called upon a multidimensional array?</p>
  
  <p>From its name, it is evident it has something to do with the dimentions of the array. However, when running the code below, the output is unexpected and not clear.</p>
  
  <pre><code>A = Array{Int64}(undef, 100,100,100)
  B = permutedims(A, (1,2,3))
  println(A == B)
  </code></pre>
  
  <p><strong><em>Output</em></strong>:</p>
  
  <pre><code>`true`
  </code></pre>
  
  <p>So does it create a copy of the original array? and what is the use of the tuple passed?</p>