SQL query where id=… or id=… or id=… etc
The way to write that query is:

SELECT * FROM member_copy WHERE id IN (17579, 17580, 17582);


However, the real question is, where did that list of ids come from?  If the list of ids is the result of another database query, then you should be doing either a subselect or a join instead.