Data Retreiving from one entity to other entity using plugins

I have E1 and E2 in CRM.

In E1 i have four fields like F1,F2,F3,F4

Now i want to read this all values and have to put in E2 with four fields.

So how can i get the collection of Entity using class libraries(Eg:PreImage).