copyNIGrid function

copies an NIGrid-object