public static function copyResources($sourceDirectory, $destinationDirectory, $excludeFiles = array()){
        //copy the resources
        $exclude = array_merge($excludeFiles, array('.', '..', '.svn'));
        $success = true;
        foreach(scandir($sourceDirectory) as $file){
            if(!in_array($file, $exclude)){
                $success &= tao_helpers_File::copy(
                    $sourceDirectory.$file, $destinationDirectory.$file, true
                );
            }
        }
        return $success;
    }
public static function copyResources($sourceDirectory, $destinationDirectory, $excludeFiles = array()){
        //copy the resources
        $exclude = array_merge($excludeFiles, array('.', '..', '.svn'));
        $success = true;
        foreach(scandir($sourceDirectory) as $file){
            if(!in_array($file, $exclude)){
                $success &= tao_helpers_File::copy(
                    $sourceDirectory.$file, $destinationDirectory.$file, true
                );
            }
        }
        return $success;
    }
public static function copyResources ( $ sourceDirectory , $ destinationDirectory , $ excludeFiles = array ( ) ) { //copy the resources $ exclude = array_merge ( $ excludeFiles , array ( '.' , '..' , '.svn' ) ) ; $ success = true ; foreach ( scandir ( $ sourceDirectory ) as $ file ) { if ( ! in_array ( $ file , $ exclude ) ) { $ success &= tao_helpers_File :: copy ( $ sourceDirectory . $ file , $ destinationDirectory . $ file , true ) ; } } return $ success ; }
Copy the resources from one directory to another

@param string $sourceDirectory
@param string $destinationDirectory
@param array $excludeFiles
@return boolean
Copy the resources from one directory to another