question: public boolean copy ( String toRpfDir ) { File toDir = new File ( toRpfDir ) ; boolean ret = false ; String sourceRpfDir = getRpfDir ( ) ; if ( ( toDir . exists ( ) || toDir . mkdirs ( ) ) && frameList != null ) { if ( verbose ) { Debug . output ( "From " + sourceRpfDir + " to " + toRpfDir + ":" ) ; } for ( Iterator < String > it = frameList . iterator ( ) ; it . hasNext ( ) ; ) { String relativeFilePath = "/" + it . next ( ) ; File fromFile = new File ( sourceRpfDir + relativeFilePath ) ; File toFile = new File ( toRpfDir + relativeFilePath ) ; File toParent = toFile . getParentFile ( ) ; if ( ! toParent . exists ( ) ) { toParent . mkdirs ( ) ; } if ( verbose ) { Debug . output ( "Copying " + relativeFilePath ) ; } try { FileUtils . copy ( fromFile , toFile , 400000 ) ; } catch ( IOException ioe ) { Debug . error ( "RpfUtil.copy:  IOExeption copying files: " + ioe . getMessage ( ) ) ; return false ; } } ret = true ; } return ret ; }
target:  Copy the frame files currently set on the FrameList to the provided RPF directory.