This question was published and self-answered with a copy & paste from this source. I honestly find that kind of actions a bit sad as you are just mining rep and contributing nothing but, is this an approved behaviour?
Self answers are supported and encouraged. If its a problem others may have, there's nothing wrong with asking and answering instantly. So long as others feel it is useful, it will get up votes.
That said, if you're answering with something pulled from elsewhere, you do have to attribute it. Not doing so is plagiarizing, and subject to summary deletion. We do try to encourage people to attribute before resorting to that, though.