--- Overwrites an existing table
-- @tparam table target Table to overwite
-- @tparam table source Source table to read from
-- @treturn table target

function Table.overwrite(target, source)
	for index, item in pairs(source) do
		target[index] = item
	end

	return target
end
