do not memcpy etd->ZNa into etd->ZNb if ETD order == 1
add checks for NULL pointers in 'etd_memcpy()'