The difference is that Dropbox takes reasonable steps[0] to try to ferret out and block copyrighted material. Mega did not.
[0]http://techcrunch.com/2014/03/30/how-dropbox-knows-when-your...
[0]http://techcrunch.com/2014/03/30/how-dropbox-knows-when-your...
A closer example is to compare it to youtube
Youtube, who spent millions developing a state-of-the-art image and sound recognition system (ContentID) so that copyrighted content could be detected and blocked by its holders?
DMCA Safe Harbor doesn't apply if you're complicit, IIRC.