Copy resources to optimized