it is wrong to do sth.实际上是it做了to do的形式主语.
be sure可以有两种用法:
sb is sure about sth./that+从句,某人对某事很肯定
it is sure that+从句,某事是确定无疑的