added extension method to easier copy files