Yes. To use an attack implies using all effects of that attack, unless otherwise stated. Ditto copies all effects of the attack in question, including the base damage. It is no different than if you used the Pokemon itself.
Edit: how I hate ninjas. -_-