creating a copy of post