I didn't think I'd be able to speak English as well as this myself! I've surprised myself!
「ここまで自分が英語を話せるとは思わなかったよ。」= I didn't think I'd be able to speak English as well as this myself! I've surprised myself!
「be able to speak 」= 話せる
「didn't think」= 思わなかった
「ここまで」= as well as this
「I've surprised myself」= 自分にびっくりしている
I didn't think I would be able to learn to speak English this well.
I was surprised that I could speak this well.
この場合、次のような言い方ができますよ。
ーI didn't think I would be able to learn to speak English this well.
「こんな上手に英語を話せるようになると思わなかった」
ーI was surprised that I could speak this well.
「こんな上手く話せて自分でもびっくりだよ」
ご参考まで!