code: public static <OriginObject, TargetObject> TargetObject copy(OriginObject originObject, Class<TargetObject> targetClass) {
  
          if (originObject == null) {
              return null;
          }
  
          //参数不合法异常
          if (targetClass == null) {
              throw new IllegalArgumentException("targetClass can't be null");
          }
  
          //目标返回对象
          TargetObject targetObject = null;
  
          try {
              targetObject = targetClass.newInstance();
          } catch (InstantiationException e) {
              e.printStackTrace();
          } catch (IllegalAccessException e) {
              e.printStackTrace();
          }
  
          return setValue(originObject, targetObject, targetClass);
      }
docs: 对等属性复制
  <p>Function: copy</p>
  <p>Description: </p>
  
  @param targetClass
  @param originObject
  @return
  @author acexy@thankjava.com
  @date 2016年1月11日 上午10:29:26
  @version 1.0