deep copy and compare result change