copy some process function