SetLength(Array2,Length(Array2));

?