added exception to the ir gen when deep copy is tried on arrays