Moved copy to new class Material
Fixed copy to use new AcriveRecord Record::copy() to make copying generic and independent table structure