com.day.cq.commons.jcr.JcrUtil.copy() is it safe method to copy content between components
Hello,
I have a two AEM components, and I'm going to use com.day.cq.commons.jcr.JcrUtil.copy() method to copy a set of JCR nodes(with childrens) from one component into another every time with PostConstruct method in Sling Model. I need to copy content from first component into second depending on author choice in the second component. So that the second component will have the same content as first.
So my question is: are there any caveats during copy content JCR nodes between two components using this way? How safe is it?
Thank you