# example data
DT1 = data.table(x = letters[1:2], y = 1:2, z = (1:2) > 3)
Due to the way data.tables are manipulated, DT2 <- DT1 will not make a copy. That is, later modifications to the columns or other attributes of DT2 will affect DT1 as well. When you want a real copy, use
DT2 = copy(...