How to get a part to copy offset of meshpart?

I cannot seem to get a regular part to copy the cframe of a mesh part so when the meshpart is offset the part will follow.

B2 = script.parent.parent.barrel.Mesh

local RunService = game:GetService("RunService")

function onRenderStep(deltaTime)
BP.newCFrame = B2.CFrame
end
RunService.RenderStepped:Connect(onRenderStep)``` the meshpart has a cframe value

Is .newCFrame a property you added to BP? If so you would need to update BP.CFrame to that value.

Otherwise just do BP.CFrame = B2.CFrame