title: BeanUtils.copyProperties don't copy
body: <p>I try to copy one by one a list of objects into another. For this I use BeanUtils.copyProperties. But I only get the last one from the original list. I can't understand what happens. Thanks.</p>
  <pre><code>        try{
          List&lt;SlideModel&gt; slideModels = slideRepository.findAll();
          List&lt;SlideModelDto&gt; slideModelsDto = new ArrayList&lt;&gt;();
          SlideModelDto dto = new SlideModelDto();
          for (SlideModel m : slideModels) {
              BeanUtils.copyProperties(m,dto);
              System.out.println(&quot;m: &quot; + m);
              System.out.println(&quot;slideModelDto: &quot; + dto);
              slideModelsDto.add(dto);
          }
  </code></pre>