org.springframework.beans.BeanUtils; BeanUtils.copyProperties(拷贝对象, 目标对象); 前提,要求靠别对象的属性名必须与目标对象的属性名一致,若不一致则不会被拷贝。