copying files inside directory ordered