The UK government is to set out details Thursday of how it plans to convert thousands of pieces of EU law into domestic law when Britain leaves the European Union.