* fix bug: call copyArray only when body is not null