title: Is it safe to replace array of XXX with TArray<XXX>
body: <p>I have quite a few variables declared as</p>
  
  <pre><code>var
    Something: array of XXX;
  begin
    SetLength(Something, 10);
    try
      ...
    finally
      SetLength(Something, 0);
    end;
  end;
  </code></pre>
  
  <p>To what extend is safe to have them replaced:</p>
  
  <pre><code>var
    Something: TArray&lt;XXX&gt;;
  begin
    SetLength(Something, 10);
    try
      ...
    finally
      SetLength(Something, 0);
    end;
  end;
  </code></pre>