if their is same content for two sites then how google will crawl, and which site google will give high traffic??
First of all change the title of your post. to your question if there are 2 website with same exact content google will usually pick the one that has more authority to it by authority i mean - older domain/website - the one with better on page . and then the most important is the one with more backlinks and better link quality or you can call it better off page SEO to it.
It is not at all feasible that the site have two or more site have same content. There are chances that search engine will penalized both the site as duplicate content. Content plays vital role in terms of search engine. It should be completely unique and updated frequently.
It depends upon - When content was published and was it crawled on original sites ? - If content were put together then Google will give preference to more authoritative site.
Usually Google gives the better ranking to the page that gets crawled first - not necessarily to the site it was posted on first. For example: You have a relatively new site (one that doesn't get crawled very frequently) You post a new article on this site and let's say, a few hours later (or even a few days later) you submit this article to an article directory Someone with an older website that already has some authority (a site that will get crawled on a frequent basis) picks up your article & puts it on his site. Than it's very likely that the article on this persons site will show up higher in the SERPS than the article on your site (for the specific keyword it's optimized for).
There are chances that search engine will penalized one website which have the most duplicate content and with new domain.