copy base files, 1st step for extension and ajax