added DynArrayLoad() and DynArraySave() helper functions