now copies data based on section header table