tools/setup/file_manager.js
function(fromFolder, toFolder, fileName) {
    const src = setupHelper.setupFolderAbsolutePath() + '/' + fromFolder + '/' + fileName
      , dest = setupHelper.setupFolderAbsolutePath() + '/' + toFolder + '/';
    return setupHelper.handleShellResponse(shell.exec('cp -r ' + src + ' ' + dest));
  }
function(fromFolder, toFolder, fileName) {
    const src = setupHelper.setupFolderAbsolutePath() + '/' + fromFolder + '/' + fileName
      , dest = setupHelper.setupFolderAbsolutePath() + '/' + toFolder + '/';
    return setupHelper.handleShellResponse(shell.exec('cp -r ' + src + ' ' + dest));
  }
function ( fromFolder , toFolder , fileName ) { const src = setupHelper . setupFolderAbsolutePath ( ) + '/' + fromFolder + '/' + fileName , dest = setupHelper . setupFolderAbsolutePath ( ) + '/' + toFolder + '/' ; return setupHelper . handleShellResponse ( shell . exec ( 'cp -r ' + src + ' ' + dest ) ) ; }
Copy file from one folder to another inside openST setup environment

@param {string} fromFolder - relative from folder
@param {string} toFolder - relative to folder
@param {string} fileName - file name
Copy file from one folder to another inside openST setup environment