BeanUtils プãƒãƒ‘ティコピー
BeanUtils.copyPropertiesã¨ã¯
åŒã˜åç§°ã®ãƒ—ãƒãƒ‘ティをコピーã§ãã‚‹
実装
try {
 BeanUtils.copyProperties(コピー先, コピー元);
} catch (IllegalAccessException | InvocationTargetException e) {
 e.getMessage();
}
pom.xml
<dependency>
  <groupId>commons-beanutils</groupId>
  <artifactId>commons-beanutils</artifactId>
  <version>1.9.1</version>
</dependency>