Set flags.writeable properly when copying array