src/Update/Updater.php
public function syncWithTemplate($filePath, $overwrite = FALSE) {
    $sourcePath = $this->getBltRoot() . '/template/' . $filePath;
    $targetPath = $this->getRepoRoot() . '/' . $filePath;

    if ($this->getFileSystem()->exists($sourcePath)) {
      try {
        $this->getFileSystem()->copy($sourcePath, $targetPath, $overwrite);
      }
      catch (IOException $e) {
        throw $e;
      }
    }

  }
public function syncWithTemplate($filePath, $overwrite = FALSE) {
    $sourcePath = $this->getBltRoot() . '/template/' . $filePath;
    $targetPath = $this->getRepoRoot() . '/' . $filePath;

    if ($this->getFileSystem()->exists($sourcePath)) {
      try {
        $this->getFileSystem()->copy($sourcePath, $targetPath, $overwrite);
      }
      catch (IOException $e) {
        throw $e;
      }
    }

  }
public function syncWithTemplate ( $ filePath , $ overwrite = FALSE ) { $ sourcePath = $ this -> getBltRoot ( ) . '/template/' . $ filePath ; $ targetPath = $ this -> getRepoRoot ( ) . '/' . $ filePath ; if ( $ this -> getFileSystem ( ) -> exists ( $ sourcePath ) ) { try { $ this -> getFileSystem ( ) -> copy ( $ sourcePath , $ targetPath , $ overwrite ) ; } catch ( IOException $ e ) { throw $ e ; } } }
Copies a file from the BLT template to the repository.

@param string $filePath
The filepath, relative to the BLT template directory.
@param bool $overwrite
If true, target files newer than origin files are overwritten.
Copies a file from the BLT template to the repository .