Fix serious bug in isCopyDeep

Array comparison couldn't work as expected