Man m=new Man();
m.setId(1);
m.setName("aa00");
Woman w=new Woman();
BeanCopier c = BeanCopier.create(m.getClass(), w.getClass(), false);
c.copy(m, w, null);
w.setSex(1);
System.out.println(w.getId());
System.out.println(w.getName());
System.out.println(w.getSex());
m.setId(1);
m.setName("aa00");
Woman w=new Woman();
BeanCopier c = BeanCopier.create(m.getClass(), w.getClass(), false);
c.copy(m, w, null);
w.setSex(1);
System.out.println(w.getId());
System.out.println(w.getName());
System.out.println(w.getSex());