<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2018-05-14 11:46 GMT+02:00 Torsten Bonde Christiansen <span dir="ltr"><<a href="mailto:tc@epidata.info" target="_blank">tc@epidata.info</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">SetLength(NewArray, Length(OldArray));<br>
for i := Low(OldArray) to High(OldArray) do<br>
  NewArray[i] := OldArray[i];<br></blockquote><div><br></div><div>you can just use :</div><div><br></div><div>NewArray := Copy(<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OldArray);</span></div></div><div class="gmail_extra"><br></div>looks better ;)<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>