The phrase "Of course I can do that!" is a direct statement of capability and willingness. It is not an idiom, but rather a literal expression. Idioms are phrases whose meaning cannot be deduced from the literal meaning of the words. Therefore, no idiom is presented here to choose from.