title: Incompatible Types - TArray<System.Byte> & Byte
body: <p>I have declared <code>outputBuffer</code> as a <code>Byte</code> and used it accordingly:</p>
  
  <blockquote>
    <p>TFile.WriteAllBytes(outputPath, outputBuffer);</p>
  </blockquote>
  
  <p>When I compile my program, Delphi outputs:</p>
  
  <blockquote>
    <p>[DCC Error] StormLib.pas(56): E2010 Incompatible types: 'System.TArray[System.Byte] and 'Byte'</p>
  </blockquote>
  
  <p>Have I used the wrong/out-dated data type for my variable? What must I do to get my program to compile? </p>
  
  <p>Thank you in advanced!</p>