See the official attribution policy here. There is also a listing of illegeal clones (sites that do not give proper attribution) on the same post; you can add this site to that list if you'd like to.
Note that it's not inherently illegal to repost content from Stack Exchange — all posts are released under a creative commons license, but they are required to give proper attribution, which this site does not.