Added 'dest' param for images copying before optimization