Fixed memory error in LBP

MoveBinary was returning stack-allocated memory that was going out of scope and being destroyed causing undefined errors on some platforms. Replaced the stack defined variable with an operation on the original variable