How to copy anything on already written console/command prompt?

Hello,
i want to know how to copy data from already written text on console?

i am actually making a program that reads texts already printed over console
so i want to capture that data again but i must not have a copy version of every thing behind the scenes i.e. in the background. I need to know how to capture data or amount of some data from console output?
for example:
1
2
3
4
5
6
7
8
[console started]

It's imaginative console for the purpose of understanding.

I will make a very impressive program which will wow! you and to my instructor.
                  |

[/console ended] 


Now i have no copy of any data printed on console/command prompt or whatever you say it. My question is how can i copy following strings from console?

1) It's imaginative console for the purpose of understanding.

2) It's imaginative console for the purpose of understanding.

I will make a very impressive program which will wow! you and to my instructor.


3) very impressive program

4) understanding.

I will make


NOTE:
Small bold '|' is my most recent cursor position on cmd.


Moreover in case you need about my IDE,
i am using :
Windows 7 Ultimate Service Pack 1.
Microsoft Visual Studio 2013 Ultimate.
Architecture 64bit.
Windows API function ReadConsoleOutputCharacter()
http://www.google.com/search?btnI=1&q=msdn+ReadConsoleOutputCharacter

You will likely also want to use GetConsoleScreenBufferInfo()
http://www.google.com/search?btnI=1&q=msdn+GetConsoleScreenBufferInfo

Good luck!
Douas thank you! worked for me!
Topic archived. No new replies allowed.