I think these two sentences have the same meaning, but which one should I use and why?
is used in colloquial language to express uncertainty, doubt and disagreement, usually when asked for an opinion on something.
For example, I wouldn't be surprised to witness the following dialogue:
(Two girls in a shop)
It is basically used as a filler in spoken language, much like a doubtful "Hm", to give the speaker a bit of time to think about how to phrase her doubts. Used like this, it is almost always followed by a pause and a more detailed explanation of the cause of the uncertainty.
The meaning depends a lot on context and tone of voice as well as facial expressions etc.
means that the speaker actually does not know some fact.
As always when it comes to spoken language, the boundaries are a bit blurry and there are almost certainly regional differences.
means literally I don't know. IMHO it's simply not much used like this. It sounds to me a lot like a foreigner studying German. The common phrase for that would be
You can use this exactly as you'd use I don't know in English.
About the phrase:
It literally means "I don't know that," emphasizing that you don't know this specific fact you were talking/asked about.
It's very common in German to change the word order such that the part that you'd like to emphasize is in the first place.
A phrase that I use very often to express I don't know in German is