Those examples are easy.
FillByte(YourArray, SizeOF(YourArray),0);
with Dynamic types it gets a little more detailed because you need to RTti or calculate the amount to clear.
All of this has been indicated already.

You could also create a "Type Helper" for a specific array of your choice.
From that, all you would need would be to simply MyArray.Clear;
etc..
Wanted to add:
You could always use "Default" on a known type of array.