Apache Commons BeanUtils is a java library useful for accessing bean properties and methods.
It provides introspection capabilities to view and manipulate the properties and operations provided
by the given class.
This requires the libraries commons-beanutils-1.8.3.jar,
commons-beanutils-bean-collections-1.8.3.jar, commons-beanutils-core-1.8.3.jar,
commons-collections-3.2.1.jar, commons-logging.jar to be in classpath.
The following example shows using BeanUtils.copyProperties() API.
It copies the matching properties from source bean to the target bean.