I am trying to get a generic CloneEntity function working with EF6.0.2
public static T CopyEntity(MyContext ctx, T entity, bool copyKeys = false) where
I think they give you one out of the box. Try something like:
context.Entry(MyNewEntity).CurrentValues.SetValues(MyOldEntity);