Change the import way for php5.2
Fix the export option "Copy" for php5.2